#pragma once
#include "Shape.h"
#include "Line.h"
#include "Point.h"
class Triangle :public virtual Shape
{
protected:
	float x1;float y1;
	float x2; float y2;
	float x3; float y3;
public:
	friend std::ostream& operator<<(std::ostream& os, const Triangle* dt){
		os << "Triangle (" << dt->x1 << " , " << dt->y1 << ")  (" << dt->x2 << " , " << dt->y2 << ")  (" << dt->x3 << " , " << dt->y3 << ")";
		return os;
	};

	void debugPrint();

	void moveShape(float new_x, float new_y);
	void rotateShape(float angle);
	void zoomShape(float zoom);

	Triangle(float X1, float Y1, float X2, float Y2, float X3, float Y3);
	~Triangle();
};

